public class Phone {
    public String cpu;
    public String screen;
    public String speaker;
    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getScreen() {
        return screen;
    }

    public void setScreen(String screen) {
        this.screen = screen;
    }

    public String getSpeaker() {
        return speaker;
    }

    public void setSpeaker(String speaker) {
        this.speaker = speaker;
    }
   public String Show(){
        return "CPU："+cpu+" 屏幕："+screen+" 扬声器："+speaker;

   }


}
